Adding a Parameter to a Method |
This topic describes the procedure to add a parameter to a method in WS-AppServer. |
|
Each WS-AppServer method has parameters that are created by default. However, you can add more parameters based on the data model that you want to create.
- Double-click the <WS-AppServer Package> from either of the following locations:
- Workspace Documents (My Recent Documents) window.
- Workspace Documents (Explorer) > <solution> > <project> . The WS-AppServer Package window appears, displaying the data models and their corresponding attributes, methods, and relations.
- In the Models group box, click a model. The Attributes, Methods, and Relations tabs are updated with the details of the model.
- Click the Methods tab. The Method group box and Method Properties group box appear.
- In the Method group box, click a <method>. The corresponding properties appear in Method Properties group box.
- In the Method Properties group box, under Parameters, click . The Parameter Properties dialog box appears.
- Provide the required details in the dialog box and click OK.
A parameter is added to the selected method and is displayed under Parameters in the Method Properties group box.